package com.zdd.spring.framework.annotation;

import java.lang.annotation.*;

/**
 * @version 1.0
 * @Author: carl
 * @Description: 模仿spring @RequestParam
 * @Date: Create in 14:06 2020/4/9 0009
 */
@Target({ElementType.PARAMETER})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface MyRequestParam {

    String value() default "";

    boolean required() default true;
}
